package com.msb.test;

/**
 * @author wuJiaWei
 * @version 1.0
 * @date 2024/8/20
 * @time 11:41:06
 * 书籍类
 */
public class Book {
    //属性:
    //书籍编号
    private int bNo;
    //书籍名称
    private String bName;
    //书籍作者
    private String bAuthor;
    //书籍价格
    private double bPrice;

    public double getbPrice() {
        return bPrice;
    }

    public void setbPrice(double bPrice) {
        this.bPrice = bPrice;
    }

    public int getbNo() {
        return bNo;
    }

    public void setbNo(int bNo) {
        this.bNo = bNo;
    }

    public String getbName() {
        return bName;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    public String getbAuthor() {
        return bAuthor;
    }

    public void setbAuthor(String bAuthor) {
        this.bAuthor = bAuthor;
    }

    //构造器

    public Book(int bNo, String bName, String bAuthor, double bPrice) {
        this.bNo = bNo;
        this.bName = bName;
        this.bAuthor = bAuthor;
        this.bPrice = bPrice;
    }

    public Book() {

    }
}
